<div>

    <div class="ibox ">
        <div class="ibox-title">
            <h5>查询条件</h5>
            <div class="ibox-tools" style="top:10px;">
            </div>
        </div>
        <div class="ibox-content">
            <div class="row">
                <div class="col-sm-2">
                    <select class="custom-select" v-model="shopAccountDetailManageInfo.conditions.acctId">
                        <option selected disabled value="">请选择账户</option>
                        <option :value="item.acctId" v-for="(item,index) in shopAccountDetailManageInfo.shopAccounts">
                            {{item.acctName}}{{item.acctTypeName}}
                        </option>
                    </select>
                </div>
                <div class="col-sm-2">
                    <select class="custom-select" v-model="shopAccountDetailManageInfo.conditions.detailType">
                        <option selected disabled value="">请选择明细类型</option>
                        <option v-for="(item,index) in shopAccountDetailManageInfo.detailTypes" :value="item.statusCd">
                            {{item.name}}
                        </option>
                    </select>
                </div>
                <div class="col-sm-2">
                    <div class="form-group">
                        <input type="text" placeholder="请输入交易编号"
                            v-model="shopAccountDetailManageInfo.conditions.orderId" class=" form-control">
                    </div>
                </div>
                <div class="col-sm-2">
                    <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryshopAccountDetailMethod()">
                        <i class="fa fa-search"></i> 查询
                    </button>
                    <button type="button" class="btn btn-primary btn-sm" v-on:click="_resetshopAccountDetailMethod()">
                        <i class="fa fa-repeat"></i> 重置
                    </button>
                </div>
            </div>
        </div>
    </div>

    <div class="ibox">
        <div class="ibox-title">
            <h5>财务明细</h5>
            <div class="ibox-tools" style="top:10px;">
            </div>
        </div>
        <div class="ibox-content">
            <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                <thead>
                    <tr>
                        <th class="text-center">明细编号</th>
                        <th class="text-center">交易编号</th>
                        <th class="text-center">账户名称</th>
                        <th class="text-center">明细类型</th>
                        <th class="text-center">金额</th>
                        <th class="text-center">交易时间</th>
                        <th class="text-center">说明</th>
                    </tr>
                </thead>
                <tbody>
                    <tr v-for="shopAccountDetail in shopAccountDetailManageInfo.shopAccountDetails">
                        <td class="text-center">{{shopAccountDetail.detailId}}</td>
                        <td class="text-center">{{shopAccountDetail.orderId}}</td>
                        <td class="text-center">{{shopAccountDetail.acctName}}</td>
                        <td class="text-center">{{shopAccountDetail.detailType =='1001'?'转入':'转出'}}</td>
                        <td class="text-center">{{shopAccountDetail.amount}}</td>
                        <td class="text-center">{{shopAccountDetail.createTime}}</td>
                        <td class="text-center">{{shopAccountDetail.remark}}</td>
                    </tr>
                </tbody>
            </table>
            <!-- 分页 -->
            <vc:create path="frame/pagination"></vc:create>
        </div>

    </div>
</div>